#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
/*
 * Copyright © 2014, Finium Sdn Bhd, All Rights Reserved
 * 
 * ResponseDTO.java
 * Modification History
 * *************************************************************
 * Date				Author						Comment
 * Feb 29, 2012		Venkaiah Chowdary Koneru	Created
 * *************************************************************
 */
package ${package}.dto;

import static ${package}.SerializationConstants.RESPONSE;

import java.io.Serializable;
import java.util.Map;

import javax.xml.bind.annotation.XmlRootElement;

import ${package}.enums.OutcomeStatus;

/**
 * Response DTO
 * 
 * @author Venkaiah Chowdary Koneru
 */
@XmlRootElement(name = RESPONSE)
public class ResponseDTO implements Serializable
{

    private static final long serialVersionUID = 1L;

    private OutcomeStatus status = OutcomeStatus.SUCCESS;
    private Map<String, String> errors;

    /**
     * returns the status
     * 
     * @return <code>status</code>
     */
    public OutcomeStatus getStatus()
    {
        return status;
    }

    /**
     * @param status
     *            the status to set
     */
    public void setStatus(OutcomeStatus status)
    {
        this.status = status;
    }

    /**
     * returns the errors
     * 
     * @return error Map
     */
    public Map<String, String> getErrors()
    {
        return errors;
    }

    /**
     * @param errors
     *            the errors to set
     */
    public void setErrors(Map<String, String> errors)
    {
        this.errors = errors;
    }

}
